HOW TO ADD TWO DATES IN PHP

98

combine date and time in php -

$combinedDT = date('Y-m-d H:i:s', strtotime("$date $time"));
                                            ^           ^

Comments

Submit
0 Comments